package ooday04;
/*
 标准JavaBean的规范：

 */
public class Point {
    private int x;
    private int y;

    public Point(){

    }

    public int getX(){ //getter方法 获取
        return x;
    }
    public void setX(int x){ //setter方法 设置
        this.x = x;
    }

    public int getY(){
        return y;
    }
    public void setY(int y){
        this.y = y;
    }
}
